package cn.mazexal.examapi.models.db;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 用户消息表
 *
 */
@Data
@TableName(value = "user_msg")
public class UserMsgDO implements Serializable {

	/**
	 * 
	 */
	@TableId(value = "id")
	private Long id;

	/**
	 * 
	 */
	@TableField(value = "user_id")
	private Long userId;

	/**
	 * 消息类型 1系统消息 2支付消息 
	 */
	@TableField(value = "msg_type")
	private Integer msgType;

	/**
	 * 
	 */
	@TableField(value = "title")
	private String title;

	/**
	 * 
	 */
	@TableField(value = "sub_title")
	private String subTitle;

	/**
	 * 内容
	 */
	@TableField(value = "content")
	private String content;

	/**
	 * 动作, 1跳转网页, 2APP内跳转,0无动作
	 */
	@TableField(value = "action")
	private Integer action;

	/**
	 * 附加参数
	 */
	@TableField(value = "extra_params")
	private String extraParams;

	/**
	 * 
	 */
	@TableField(value = "create_time")
	private Long createTime;

	/**
	 * 
	 */
	@TableField(value = "is_read")
	private Integer isRead;

	/**
	 *
	 */
	@TableField(value = "is_del")
	private Integer isDel;

}